package com.yzy.service;

import com.yzy.domain.entity.system.Account;
import com.yzy.exception.VisionException;
import com.yzy.domain.vo.system.AccountVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface AccountService {
    String loginByUserName(HttpServletRequest request, String loginByUserName, String password, HttpServletResponse response) throws VisionException;

    Account findById(String id);

    AccountVo findVoById(String id);

    Account getAccountFromRequest(HttpServletRequest request);
}
